<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>CL-CBS: include/neighbor.hpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">CL-CBS
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">neighbor.hpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="neighbor_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#pragma once</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;</div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespacelibMultiRobotPlanning.html">libMultiRobotPlanning</a> {</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;</div><div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;<span class="keyword">template</span> &lt;<span class="keyword">typename</span> State, <span class="keyword">typename</span> Action, <span class="keyword">typename</span> Cost&gt;</div><div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="structlibMultiRobotPlanning_1_1Neighbor.html">   24</a></span>&#160;<span class="keyword">struct </span><a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html">Neighbor</a> {</div><div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="structlibMultiRobotPlanning_1_1Neighbor.html#a048152420e26c75abca920a4c5060c42">   25</a></span>&#160;  <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#a048152420e26c75abca920a4c5060c42">Neighbor</a>(<span class="keyword">const</span> State&amp; <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#ad4930766ec86e82ae342ffe94f5e0da4">state</a>, <span class="keyword">const</span> Action&amp; <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#a8b50ab4edc18e97d809dcd89c42bed44">action</a>, Cost <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#af269be36c1200896a5990f7ee3d9da27">cost</a>)</div><div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;      : state(state), action(action), cost(cost) {}</div><div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;</div><div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="structlibMultiRobotPlanning_1_1Neighbor.html#ad4930766ec86e82ae342ffe94f5e0da4">   29</a></span>&#160;  State <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#ad4930766ec86e82ae342ffe94f5e0da4">state</a>;</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="structlibMultiRobotPlanning_1_1Neighbor.html#a8b50ab4edc18e97d809dcd89c42bed44">   31</a></span>&#160;  Action <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#a8b50ab4edc18e97d809dcd89c42bed44">action</a>;</div><div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="structlibMultiRobotPlanning_1_1Neighbor.html#af269be36c1200896a5990f7ee3d9da27">   33</a></span>&#160;  Cost <a class="code" href="structlibMultiRobotPlanning_1_1Neighbor.html#af269be36c1200896a5990f7ee3d9da27">cost</a>;</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;};</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;}  <span class="comment">// namespace libMultiRobotPlanning</span></div><div class="ttc" id="structlibMultiRobotPlanning_1_1Neighbor_html_a048152420e26c75abca920a4c5060c42"><div class="ttname"><a href="structlibMultiRobotPlanning_1_1Neighbor.html#a048152420e26c75abca920a4c5060c42">libMultiRobotPlanning::Neighbor::Neighbor</a></div><div class="ttdeci">Neighbor(const State &amp;state, const Action &amp;action, Cost cost)</div><div class="ttdef"><b>Definition:</b> neighbor.hpp:25</div></div>
<div class="ttc" id="structlibMultiRobotPlanning_1_1Neighbor_html_a8b50ab4edc18e97d809dcd89c42bed44"><div class="ttname"><a href="structlibMultiRobotPlanning_1_1Neighbor.html#a8b50ab4edc18e97d809dcd89c42bed44">libMultiRobotPlanning::Neighbor::action</a></div><div class="ttdeci">Action action</div><div class="ttdoc">action to get to the neighboring state </div><div class="ttdef"><b>Definition:</b> neighbor.hpp:31</div></div>
<div class="ttc" id="structlibMultiRobotPlanning_1_1Neighbor_html_ad4930766ec86e82ae342ffe94f5e0da4"><div class="ttname"><a href="structlibMultiRobotPlanning_1_1Neighbor.html#ad4930766ec86e82ae342ffe94f5e0da4">libMultiRobotPlanning::Neighbor::state</a></div><div class="ttdeci">State state</div><div class="ttdoc">neighboring state </div><div class="ttdef"><b>Definition:</b> neighbor.hpp:29</div></div>
<div class="ttc" id="structlibMultiRobotPlanning_1_1Neighbor_html"><div class="ttname"><a href="structlibMultiRobotPlanning_1_1Neighbor.html">libMultiRobotPlanning::Neighbor</a></div><div class="ttdoc">Represents state transations. </div><div class="ttdef"><b>Definition:</b> neighbor.hpp:24</div></div>
<div class="ttc" id="namespacelibMultiRobotPlanning_html"><div class="ttname"><a href="namespacelibMultiRobotPlanning.html">libMultiRobotPlanning</a></div><div class="ttdef"><b>Definition:</b> cl_cbs.hpp:19</div></div>
<div class="ttc" id="structlibMultiRobotPlanning_1_1Neighbor_html_af269be36c1200896a5990f7ee3d9da27"><div class="ttname"><a href="structlibMultiRobotPlanning_1_1Neighbor.html#af269be36c1200896a5990f7ee3d9da27">libMultiRobotPlanning::Neighbor::cost</a></div><div class="ttdeci">Cost cost</div><div class="ttdoc">cost to get to the neighboring state </div><div class="ttdef"><b>Definition:</b> neighbor.hpp:33</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>
